package cn.pzhuweb.pojo;

import java.util.Arrays;

/**
 * @author Yancy xiao
 * @create 2022-11-08 11:21
 */
public class SUser {
    private String xm;
    private Integer age;
    private String[] hobby;
    public String getXm() {
        return xm;
    }
    public void setXm(String xm) {
        this.xm = xm;
    }
    public Integer getAge() {
        return age;
    }
    @Override
    public String toString() {
        return "SUser [xm=" + xm + ", age=" + age + ", hobby=" + Arrays.toString(hobby) + "]";
    }
    public SUser(String xm, Integer age, String[] hobby) {
        super();
        this.xm = xm;
        this.age = age;
        this.hobby = hobby;
    }
    public void setAge(Integer age) {
        this.age = age;
    }
    public String[] getHobby() {
        return hobby;
    }
    public void setHobby(String[] hobby) {
        this.hobby = hobby;
    }

}

